package com.threeti.mecool.legacy.domain.model.basicdata;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/** 品牌(遗留，一般即指商品的品牌) */
@Entity
@Table(name = "MD_BRAND")
public class BrandLegacy implements Serializable {
  @Id
  @Column(name="BRAND_CODE")
  private String code;
  
  @Column(name="BRAND_NAME")
  private String name;
  
  @Column(name="CUST_CODE")
  private String customerCode;
  
  @Column(name="BRAND_CAT_CODE")
  private String categoryCode;

  public String getCode() {
    return code;
  }

  public String getName() {
    return name;
  }

  public String getCustomerCode() {
    return customerCode;
  }

  public String getCategoryCode() {
    return categoryCode;
  }

  @Override
  public String toString() {
    return "BrandLegacy [code=" + code + ", name=" + name + ", customerCode=" + customerCode + ", categoryCode=" + categoryCode + "]";
  }
  
  
}
